package fr.smile.sandbox;

import java.util.List;

public class ProductDAOMockImpl implements ProductDAO {

	@Override
	public Product getProductByID(long id) {
		System.out.println("bla 1");
		Product returnObj = new Product();
		returnObj.setId(1);
		returnObj.setDescription("Coucou");
		returnObj.setName("Mon nom");

		return returnObj;
	}

	@Override
	public Product saveProduct(Product product) {
		System.out.println("Can't save a mock Object");
		return product;
	}

	@Override
	public List<Product> getAllProducts() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Product deleteProduct(Product product) {
		// TODO Auto-generated method stub
		return null;
	}

}
